added some development tools
[windows-sources.git] / developer / Samples / NET 4.6 / FileBrowser / Shell / Interfaces / IDropSource.cs
blob38170c5d39f8178d0eaee725eace4b082d3ee510
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using System.Runtime.InteropServices;
5 using System.Windows.Forms;
7 namespace ShellDll
9 [ComImport]
10 [GuidAttribute("00000121-0000-0000-C000-000000000046")]
11 [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
12 public interface IDropSource
14 // Determines whether a drag-and-drop operation should continue
15 [PreserveSig]
16 Int32 QueryContinueDrag(
17 bool fEscapePressed,
18 ShellAPI.MK grfKeyState);
20 // Gives visual feedback to an end user during a drag-and-drop operation
21 [PreserveSig]
22 Int32 GiveFeedback(
23 DragDropEffects dwEffect);